﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
   public class RockTrack: AbstractTrack
    {
        private string _severity;

        public RockTrack()
        { }

        public RockTrack(string name, int length, string severity)
            : base(name, length)
        {
            _severity = severity;
        }

        public string Severity
        {
            get { return _severity; }
            set { _severity = value; }
        }
            public override string ToString()
            {
            return base.ToString() + ", степень тяжести: " + _severity;
        
        }
    }
}
